package cn.broadsense.thrid.param;

import cn.broadsense.thrid.result.VehicleTrackCollisionResult;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 在查询时间段内（可多个时间段），多个地点同一车辆出现的命中数。
 *
 * @author pengxin
 * @date 2022-10-14 16:03
 */
@NoArgsConstructor
@Data
public class VehicleTrackCollisionParam extends BasePageParam {
    private static final long serialVersionUID = -4430206489026351868L;

    private List<ParamParam> param;


    @Override
    public void checkParam() {

    }

    @Override
    public List<String> getIgnoreList() {
        List<String> ignoreList = super.getIgnoreList();
        ignoreList.add("page");
        ignoreList.add("pageSize");
        return ignoreList;
    }

    @Override
    public Class getResultClass() {
        return VehicleTrackCollisionResult.class;
    }

    @NoArgsConstructor
    @Data
    public static class ParamParam {
        private String startTimeStr;
        private String endTimeStr;
        private List<String> channelCodes;
        /**
         * 车牌
         */
        private String plateNum;
    }
}
